package com.fjwt.gz.service.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fjwt.gz.db.dto.LiteBannerDTO;
import com.fjwt.gz.db.entity.LiteBannerEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fjwt.gz.db.vo.LiteBannerVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 小程序轮播图配置表 Mapper 接口
 * </p>
 *
 * @author shiyonghao
 * @since 2025-04-09
 */
public interface LiteBannerMapper extends BaseMapper<LiteBannerEntity> {

    IPage<LiteBannerVO> selectLiteBannerList(IPage<?> page, @Param("liteBannerDTO") LiteBannerDTO liteBannerDTO);

    IPage<LiteBannerEntity> selectLiteBannerListByAgentNo(IPage<?> page, @Param("liteBannerEntity") LiteBannerEntity liteBannerEntity, @Param("agentNo") String agentNo);
}
